#ifndef MESSAGEBOXUTILS_H
#define MESSAGEBOXUTILS_H
#include <QObject>
class MessageBoxUtils:QObject
{
    Q_OBJECT
public:
    MessageBoxUtils();
    // 静态函数：显示自动关闭的消息框
    static void showAutoCloseMessageBox(QWidget *parent, const QString &title, const QString &message, int timeout = 1000);
};

#endif // MESSAGEBOXUTILS_H
